package com.gitee.fantaros.web.fan.netcut.threading;

public interface Asyncable<T, P> extends Runnable {

    Processable<P> getProcessable();
    void setProcessable(Processable<P> processable);

    ResultCallback<T> getResultCallback();
    void setResultCallback(ResultCallback<T> resultCallback);

}
